<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>AJAX</title>
</head>
<body>
    <h1 id="text">
        AJAX demo
    </h1>
    <button id="getCSS">查看请求CSS</button>
    <button id="getJS">查看请求JS</button>
    <button id="getHTML">查看请求HTML</button>
    <button id="getXML">查看请求XML</button>
    <button id="getJSON">查看请求JSON</button>
    <button id="getData">查看数据</button>

</body>
    <script src="main.js"></script>
</html>